package com.yunxi.model.otd;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 周计划上传
 * </p>
 *
 * @author 
 * @since 2019-05-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("pms_otd_week_upload")
@ApiModel(value="OtdWeekUpload对象", description="周计划上传")
public class OtdWeekUpload implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "周计划上传ID")
    @TableId(value = "WEEK_UPLOAD_ID", type = IdType.UUID)
    private String weekUploadId;

    @ApiModelProperty(value = "周计划上传CODE")
    @TableField("WEEK_UPLOAD_CODE")
    private String weekUploadCode;

    @ApiModelProperty(value = "制作年")
    @TableField("YEAR")
    private String year;

    @ApiModelProperty(value = "制作月")
    @TableField("MONTH")
    private String month;

    @ApiModelProperty(value = "制作周")
    @TableField("WEEK")
    private String week;

    @ApiModelProperty(value = "总需求数量")
    @TableField("SUM_PLAN_NUM")
    private Integer sumPlanNum = 0;

    @ApiModelProperty(value = "状态")
    @TableField("STATE")
    private String state;

    @ApiModelProperty(value = "发布时间")
    @TableField("RELEASE_TIME")
    private Date releaseTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField(value="CREATE_DATE",fill = FieldFill.INSERT)
    private Date createDate;

    @ApiModelProperty(value = "最后修改人")
    @TableField(value="UPDATE_BY",fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "最后修改时间")
    @TableField(value = "UPDATE_DATE", fill = FieldFill.INSERT_UPDATE)
    private Date updateDate;

    @Version
    @ApiModelProperty(value = "版本号")
    @TableField("VERSION")
    private Integer version = 0;

    @ApiModelProperty(value = "接口传送标识")
    @TableField("IS_SEND")
    private Integer isSend = 0;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel = 0;


}
